<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8" />
    <title>Speech to Text</title>
  </head>
  <body>
    <!-- 创建一个按钮，用户点击后开始转换语音为文本 -->
    <button id="action-button">开始</button>
    <!-- 创建一个段落，用来输出转换后的文本 -->
    <p id="output"></p>

    <script type="module">
      import Assistant from "./Assistant.js";
      window.onload = function () {
        main();
      };

      function main() {
        const assistant = new Assistant({ name: "语音助理" });
      }
    </script>
  </body>
</html>
